package com.easypay.bean.ledger;

import lombok.Data;

import java.io.Serializable;

/**
 *  分账请求
 *
 * @date: 2021/10/17 21:35
 * @author: pandans
 */
@Data
public class Mpos implements Serializable {

    /**
     * orgTrace : ORG0000120210517132951RGEVLT
     * prodCode : W04
     * sign : CGWmXcaPF3llX8RKQdqvc8BhnSdKI6MR7WewQ/TxEhRrPXP1wd4dniU8o73rLKZzlZai3MXL/bceZzKmSXfatGOjz0oYa9EinsykjgyVyDgT5sUHllMHi4WSkNeOVHbwFQuQ4/mQeX8nhNRS/r4+zvKCF9wSDN9Czl3cJGVDvhU=
     * orgMerCode : 531000012965833
     * signType : RSA
     * bizData : {"oriOrgTrace":"ORG0000120210517132951RGEVLS","dgtlEnvlp":"L8c1xayAMuUlaQEaLft9psOniBgJ/5iiy8hLir+JrOJJCdDCp1j3W8zFU7fQeMx/c+ySJ+OcNEvabCj1nfgHDRDpiAlDfg3XbS1V6b0G5FPMtkYGhnahatoNwBS580sne5d6zb4zO0yw1R2r8YN6pp5pUK5GRYcqfBjeqbQW/t0=","transCount":"2","transAmt":"121","orderSubDetails":"DEIs4XNppcMecVi8QERZor0QLuZWccW/jGMQ5BUAs+peaVN+q0XdbDJoxJqHBcm94ajZn4yMgqnEHXQ2SwRfAcZnelEUhrMQE9eJ6oSAQuNs0AC++fmrRZIW5FtPLVSZy0jmwdA+bCokGPqkhjwig4jaPSxDhnhNQqSGldpzPCAO++wfAiGPKQzW3XIxIi8jradFB0kiPTbdfSm6HCTzJ/slgLIMiBf0UvPUMpsitXXok78I0EQ4XnLzftrlING/HmNZ0HODycqKHwi8Mjy+HcvAUAx8KDnZmcdmylwVb3xmI7TUeSJ+8+IKcW0bSfo8/yWQBs7AdERh3yiEbyze9GbIf16InNZNfpSEOXo4OLQ="}
     * prodTrace : ORG0000120210517132951RGEVLS
     * orgId : ORG000000000001
     * orgTermNo : W1486540
     */

    private String orgTrace;
    private String prodCode;
    private String sign;
    private String orgMerCode;
    private String signType;
    private BizDataBean bizData;
    private String prodTrace;
    private String orgId;
    private String orgTermNo;

    @Data
    public static class BizDataBean implements Serializable {
        /**
         * oriOrgTrace : ORG0000120210517132951RGEVLS
         * dgtlEnvlp : L8c1xayAMuUlaQEaLft9psOniBgJ/5iiy8hLir+JrOJJCdDCp1j3W8zFU7fQeMx/c+ySJ+OcNEvabCj1nfgHDRDpiAlDfg3XbS1V6b0G5FPMtkYGhnahatoNwBS580sne5d6zb4zO0yw1R2r8YN6pp5pUK5GRYcqfBjeqbQW/t0=
         * transCount : 2
         * transAmt : 121
         * orderSubDetails : DEIs4XNppcMecVi8QERZor0QLuZWccW/jGMQ5BUAs+peaVN+q0XdbDJoxJqHBcm94ajZn4yMgqnEHXQ2SwRfAcZnelEUhrMQE9eJ6oSAQuNs0AC++fmrRZIW5FtPLVSZy0jmwdA+bCokGPqkhjwig4jaPSxDhnhNQqSGldpzPCAO++wfAiGPKQzW3XIxIi8jradFB0kiPTbdfSm6HCTzJ/slgLIMiBf0UvPUMpsitXXok78I0EQ4XnLzftrlING/HmNZ0HODycqKHwi8Mjy+HcvAUAx8KDnZmcdmylwVb3xmI7TUeSJ+8+IKcW0bSfo8/yWQBs7AdERh3yiEbyze9GbIf16InNZNfpSEOXo4OLQ=
         */

        private String oriOrgTrace;
        private String dgtlEnvlp;
        private String transCount;
        private String transAmt;
        private String orderSubDetails;
    }
    @Data
    public static class OrderSubBean implements Serializable {
        private String orgMercode;//	M	M
        private String orgTermno;//	M	M
        private String orgSubTrace;//	M	M
        private String body;//	O	O
        private String subject;//	O	O
        private String transAmt;//	M	M	单位：分
        private String feeCostAmt;//	M	M	单位：分
        private String patnerSettleFlag;//	O	O	t0到账:0 t1到账:1 （不填默认t0)
        private String attach;//	O	O
        private String otherfee;//	O	O
        private String orgHfee;//	O	O
    }

}
